package com.demo.connectdbtest.module.code_compare;

import org.apache.commons.lang3.StringUtils;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class SplitTest {

    public static void main(String[] args) {
      List<Integer> sonarConfig = new ArrayList<>();
        sonarConfig.add(1);
        sonarConfig.add(2);
        sonarConfig.add(3);
        String joinedString = StringUtils.join(sonarConfig, ", ");
        System.out.println(joinedString);
    }
}
